package com.meida.mdtj.admin.handler;

import com.meida.common.base.entity.EntityMap;
import com.meida.common.mybatis.interceptor.DeleteInterceptor;
import com.meida.common.mybatis.model.ResultBody;
import com.meida.common.mybatis.query.CriteriaDelete;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * 机构删除扩展
 *
 * @author zyf
 */
@Component
@AllArgsConstructor
public class CompanyDeleteHandler implements DeleteInterceptor {


    @Override
    public ResultBody validate(CriteriaDelete cd, EntityMap params) {
        return ResultBody.ok();
    }

    @Override
    public void prepare(CriteriaDelete criteriaDelete, EntityMap entityMap) {

    }
}
